package net.ojbk.timeSpace.test.web.handllers;

import javax.servlet.http.HttpSession;

import org.springframework.web.servlet.ModelAndView;

public interface IUserController {
	/**
	 * 已登录跳转到/home.jsp、未登录跳转到/noLogin.html
	 * 
	 * @param session
	 * @return
	 */
	public ModelAndView doIndex(HttpSession session);

	/**
	 * 返回是否登录的json
	 * 
	 * @param session
	 * @return
	 */
	public Object doIsLogin(HttpSession session);
	
	/**
	 * 執行注銷操作
	 * @param session
	 * @return
	 */
	public String doLogout(HttpSession session);
}
